package com.ruoyi.finance.service;

import com.ruoyi.finance.domain.FmsCustomer;

import java.util.List;

/**
 * 客户 服务层
 *
 * @author 夜雨
 */
public interface IFmsCustomerService {
    /**
     * 查询客户
     *
     * @param customerId 客户ID
     * @return 客户
     */
    public FmsCustomer selectCustomerById(Long customerId);

    /**
     * 查询客户列表
     *
     * @param customer 客户
     * @return 客户集合
     */
    public List<FmsCustomer> selectCustomerList(FmsCustomer customer);

    /**
     * 新增客户
     *
     * @param customer 客户
     * @return 结果
     */
    public int insertCustomer(FmsCustomer customer);

    /**
     * 修改客户
     *
     * @param customer 客户
     * @return 结果
     */
    public int updateCustomer(FmsCustomer customer);

    /**
     * 删除客户信息
     *
     * @param customerId 客户ID
     * @return 结果
     */
    public int deleteCustomerById(Long customerId);

    /**
     * 批量删除客户
     *
     * @param customerIds 需要删除的客户ID
     * @return 结果
     */
    public int deleteCustomerByIds(Long[] customerIds);
}
